package com.shardingsphere.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 雇员表(t_emp)
 * </p>
 *
 * @author jpge2
 * @since 2023-11-08
 */
@Data
@Builder
@TableName(value = "t_emp")
public class Emp implements Serializable {

    private static final long serialVersionUID = -2662145822293028628L;

    /**
     * 雇员表_技术主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 雇员ID_业务主键
     */
    @TableField(value = "emp_id")
    private Long empId;

    /**
     * 雇员信姓名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 经理ID
     */
    @TableField(value = "supervisor")
    private Long supervisor;

    /**
     * 雇员工资
     */
    @TableField(value = "salary")
    private Long salary;

}